﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_NewsAdd.aspx.cs" Inherits="admin_Admin_NewsAdd"  ValidateRequest="false" %>

<%@ Register Src="../Controls/AdminCheck.ascx" TagName="AdminCheck" TagPrefix="uc1" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="Images/css1/css.css" rel="stylesheet" type="text/css">
    </head>
<SCRIPT language=javascript>
<!--
var displayBar=true;
function switchBar(obj){
	if (displayBar)
	{
		parent.frame.cols="0,*";
		displayBar=false;
		obj.value="打开左边管理菜单";
	}
	else{
		parent.frame.cols="195,*";
		displayBar=true;
		obj.value="关闭左边管理菜单";
	}
}


//-->
</SCRIPT>
<body>
    <form id="form1" runat="server">
 <table class="table" cellspacing="1" cellpadding="2"  align="center" border="0" style="width: 800px">
  <tbody>
    <tr>
      <th class="bg_tr" align="left" colspan="2" height="25">
          <span style="font-size:18px;">新闻系统—添加</span>
          <input onClick="switchBar(this)" type="button" value="关闭左边管理菜单" name="SubmitBtn" />
     </th>
    </tr>
    <tr>
      <td height="23" align="right" class="td_bg" style="width: 6%">
          新闻标题：</td>
<td class="td_bg" style="width: 50%">
                    <asp:TextBox ID="ntitle" runat="server" Width="432px"></asp:TextBox></td>
    </tr>
    <tr>
      <td height="23" align="right" class="td_bg" style="width: 6%">
          Title标题：</td>
<td class="td_bg" style="width: 50%">
                    <asp:TextBox ID="textTit" runat="server" Width="435px"></asp:TextBox></td>
    </tr>
    <tr>
      <td height="23" align="right" class="td_bg" style="width: 6%">
          关键字：</td>
<td class="td_bg" style="width: 50%">
                    <asp:TextBox ID="TextKey" runat="server" Width="435px"></asp:TextBox>
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                        Text="获取文章关键字" />
        </td>
    </tr>
    <tr>
      <td height="23" align="right" valign="top" class="td_bg" style="width: 6%">
          描述：</td>
<td class="td_bg" style="width: 50%">
                    <asp:TextBox ID="ntro" runat="server" Height="44px" TextMode="MultiLine" 
                        Width="537px"></asp:TextBox></td>
    </tr>
    <tr>
      <td height="23" align="right" valign="top" class="td_bg" style="width: 6%">
          页面地址：</td>
<td class="td_bg" style="width: 50%">
                    <asp:TextBox ID="TextBox1" runat="server" Width="256px"></asp:TextBox>
                    为空时默认为：S+当前新闻ID.html</td>
    </tr>
     <tr>
      <td height="23" align="right" valign="top" class="td_bg" style="width: 6%">
          详细内容：</td>
      <td class="td_bg" style="width: 50%"><fckeditorv2:fckeditor ID="ncontent" 
              runat="server" Height="400px" Width="700px"></fckeditorv2:fckeditor></td>
    </tr>
    <tr>
      <td class="td_bg" height="23" style="width: 6%">&nbsp;</td>
      <td class="td_bg" style="width: 50%">
                    <asp:CheckBox ID="Keybool" runat="server" Text="是否关联关键词链接" /></td>
    </tr>
        <tr>
      <td class="td_bg" height="23" style="width: 6%">&nbsp;</td>
      <td class="td_bg" style="width: 50%">
                    <asp:CheckBox ID="CheckXiangguan" runat="server" Text="是否关联相关文章" /></td>
    </tr>
    <tr> 
      <td class="bg_tr" align="left" colspan="2" height="26">
    <asp:Button ID="Button1" runat="server" Text="确定" OnClick="Button1_Click" 
              CssClass="input_1" Width="106px" /></td>
    </tr>
  </tbody>
</table>
        <uc1:AdminCheck ID="AdminCheck1" runat="server" />
</form>
</body>
</html>
